//
//  XQCityManager.h
//  JoinPeso
//
//  Created by 小琦 on 2024/12/3.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XQCityManager : NSObject

+ (NSArray *)getProvinceList;

+ (NSArray *)getCityListAtProvinceIndex:(NSInteger)provinceIndex;

+ (NSArray *)getDistrictListAtProvinceIndex:(NSInteger)provinceIndex cityIndex:(NSInteger)cityIndex;


+ (NSInteger)getProvinceIndex:(NSString *)province;
+ (NSInteger)getCityIndex:(NSInteger)provinceIndex cityName:(NSString *)cityName;
+ (NSInteger)getDistrictIndex:(NSInteger)provinceIndex cityIndex:(NSInteger)cityIndex districtName:(NSString *)districtName;

@end

NS_ASSUME_NONNULL_END
